/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package au.edu.unsw.bookmarket.actionform;

/**
 *
 * @author gongz
 */
public class PostAdsBean extends org.apache.struts.action.ActionForm {
    // item type

    private String item_type;
    // for book DB table
    private String book_name;   // required
    private String book_author;
    private String book_edition;   // required
    private int book_year;
    private String book_isbn;
    private String book_type;
    private double book_full_price;
    private String book_publisher;
    // for course DB table
    private String course_code;    // required if item is a book
    private String course_name;
    private String course_school;
    private String course_faculty;
    private String course_lecturer;
    private String course_session;
    // for student DB table
    private String seller_username;    // required
    private String seller_password;    // required
    private String seller_email;
    private String seller_id;
    private String seller_firstname;
    private String seller_lastname;
    private String seller_contactnumber;
    // for ads DB table
    private String ads_contact; // required
    private double ads_price;   // required
    private String ads_misc;
    // for user register checkbox
    private boolean user_register;

    public String getItem_type() {
        return item_type;
    }

    public void setItem_type(String item_type) {
        this.item_type = item_type;
    }

    public String getAds_contact() {
        return ads_contact;
    }

    public void setAds_contact(String ads_contact) {
        this.ads_contact = ads_contact;
    }

    public String getAds_misc() {
        return ads_misc;
    }

    public void setAds_misc(String ads_misc) {
        this.ads_misc = ads_misc;
    }

    public double getAds_price() {
        return ads_price;
    }

    public void setAds_price(double ads_price) {
        this.ads_price = ads_price;
    }

    public String getBook_author() {
        return book_author;
    }

    public void setBook_author(String book_author) {
        this.book_author = book_author;
    }

    public String getBook_edition() {
        return book_edition;
    }

    public void setBook_edition(String book_edition) {
        this.book_edition = book_edition;
    }

    public String getBook_isbn() {
        return book_isbn;
    }

    public void setBook_isbn(String book_isbn) {
        this.book_isbn = book_isbn;
    }

    public String getBook_name() {
        return book_name;
    }

    public void setBook_name(String book_name) {
        this.book_name = book_name;
    }

    public String getBook_publisher() {
        return book_publisher;
    }

    public void setBook_publisher(String book_publisher) {
        this.book_publisher = book_publisher;
    }

    public int getBook_year() {
        return book_year;
    }

    public void setBook_year(int book_year) {
        this.book_year = book_year;
    }

    public double getBook_full_price() {
        return book_full_price;
    }

    public void setBook_full_price(double book_full_price) {
        this.book_full_price = book_full_price;
    }

    public String getBook_type() {
        return book_type;
    }

    public void setBook_type(String book_type) {
        this.book_type = book_type;
    }

    public String getCourse_code() {
        return course_code;
    }

    public void setCourse_code(String course_code) {
        this.course_code = course_code;
    }

    public String getCourse_faculty() {
        return course_faculty;
    }

    public void setCourse_faculty(String course_faculty) {
        this.course_faculty = course_faculty;
    }

    public String getCourse_lecturer() {
        return course_lecturer;
    }

    public void setCourse_lecturer(String course_lecturer) {
        this.course_lecturer = course_lecturer;
    }

    public String getCourse_name() {
        return course_name;
    }

    public void setCourse_name(String course_name) {
        this.course_name = course_name;
    }

    public String getCourse_school() {
        return course_school;
    }

    public void setCourse_school(String course_school) {
        this.course_school = course_school;
    }

    public String getCourse_session() {
        return course_session;
    }

    public void setCourse_session(String course_session) {
        this.course_session = course_session;
    }

    public String getSeller_contactnumber() {
        return seller_contactnumber;
    }

    public void setSeller_contactnumber(String seller_contactnumber) {
        this.seller_contactnumber = seller_contactnumber;
    }

    public String getSeller_email() {
        return seller_email;
    }

    public void setSeller_email(String seller_email) {
        this.seller_email = seller_email;
    }

    public String getSeller_firstname() {
        return seller_firstname;
    }

    public void setSeller_firstname(String seller_firstname) {
        this.seller_firstname = seller_firstname;
    }

    public String getSeller_id() {
        return seller_id;
    }

    public void setSeller_id(String seller_id) {
        this.seller_id = seller_id;
    }

    public String getSeller_lastname() {
        return seller_lastname;
    }

    public void setSeller_lastname(String seller_lastname) {
        this.seller_lastname = seller_lastname;
    }

    public String getSeller_password() {
        return seller_password;
    }

    public void setSeller_password(String seller_password) {
        this.seller_password = seller_password;
    }

    public String getSeller_username() {
        return seller_username;
    }

    public void setSeller_username(String seller_username) {
        this.seller_username = seller_username;
    }

    public boolean isUser_register() {
        return user_register;
    }

    public void setUser_register(boolean user_register) {
        this.user_register = user_register;
    }
}
